package cn.tedu.v1.service;

import cn.tedu.v1.model.Appointment;
import cn.tedu.v1.vo.AppointmentVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 * 预约列表 服务类
 * </p>
 *
 * @author tedu.cn
 * @since 2021-07-06
 */
public interface IAppointmentService extends IService<Appointment> {

    Appointment savaAppointment(AppointmentVo appointmentVo);
    PageInfo<Appointment> getAppointments(Integer pageNum,Integer pageSize);
    Integer updateAppointment(AppointmentVo appointmentVo);
    Integer deleteAppointment(Integer Id);

}
